

/****** Object:  StoredProcedure [dbo].[SP_recRole_Update]    Script Date: 05/10/2014 08:27:41 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		Beni Khaeroni (jhung.ben@gmail.com)
-- Create date: 09 Mei 2014 10:20 AM
-- Description:	
-- =============================================
CREATE PROCEDURE [dbo].[SP_recRole_Update]
(
	@RoleID						[int],
	@RoleName						[varchar](100),
	--@CreatedBy						[varchar](50),
	--@CreatedDate						[datetime],
	@UpdatedBy						[varchar](50),
	@UpdatedDate						[datetime],
	@IsInternal						[bit]
)
AS UPDATE master.recRole
SET
		--RoleID			=	@RoleID,
		RoleName			=	@RoleName,
		--CreatedBy			=	@CreatedBy,
		--CreatedDate			=	@CreatedDate,
		UpdatedBy			=	@UpdatedBy,
		UpdatedDate			=	@UpdatedDate,
		IsInternal			=	@IsInternal
WHERE
(
	 [RoleID]	 = @RoleID
)
GO


